//
//  FindCarTableViewCell.h
//  CarTown
//
//  Created by xionghao on 15/8/29.
//  Copyright (c) 2015年 熊浩. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "FindCarMode.h"
@class FindCarTableViewCell;
@protocol FindCarEidtTableCellDelegate <NSObject>

-(void)buttonclickWith:(FindCarTableViewCell *)cell WithIndex:(NSInteger)index;

@end


@interface FindCarTableViewCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UILabel *title;
@property (weak, nonatomic) IBOutlet UIButton *selectedbtn;
@property (weak, nonatomic) IBOutlet UILabel *subtitle;
@property (weak, nonatomic) IBOutlet UILabel *time;
@property (weak, nonatomic) IBOutlet UIImageView *typeicon;
@property (weak, nonatomic) IBOutlet UIButton *update;
@property (weak, nonatomic) IBOutlet UIButton *deletebtn;
@property (weak, nonatomic) IBOutlet UILabel *namelable;

@property (nonatomic,strong) FindCarMode *mode;
+(instancetype)CellWithTableView:(UITableView *)tableView;
@property (nonatomic,weak) id<FindCarEidtTableCellDelegate> delegate;
@end
